package com.order.itemcategoryproject.service.lmpl;

import com.order.itemcategoryproject.mapper.pArcStoreMapper;
import com.order.itemcategoryproject.pojo.pArcStore;
import com.order.itemcategoryproject.service.pArcStoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class pArcStoreServicelmpl implements pArcStoreService {

    @Autowired
    private pArcStoreMapper pArcStoreMapper;


    /**
     * 根据加盟商编号获取当前加盟商下所有门店信息
     * @param franchisee
     * @return
     */
    @Override
    public List<pArcStore> getAllStoreInfoByfranchisee(String franchisee) {
        return pArcStoreMapper.getAllStoreInfoByfranchisee(franchisee);
    }
}
